package com.itheima.service.mongo;

import com.itheima.domain.mongo.Video;
import com.itheima.vo.PageBeanVo;

import java.util.Objects;

public interface VideoService {
    PageBeanVo findRecommendVideoByPage(Long userId,Integer pageNum,Integer pageSize);
    void save(Video video);

    Video findById(Object id);

    PageBeanVo findVideosByCondition4Page(Long userId, Integer status, Integer pageNum, Integer pageSize);
}
